#!/bin/sh -e

cd "`dirname "$0"`"
for d in gnulinux_x86 osx64 w32
do
  cd "$d"
  shred -uzn0 ../"$d".xpi
  zip -9rXD ../"$d".xpi ./*
  cd ..
  strip-nondeterminism -t zip ./"$d".xpi
done

